<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.windblog.core.*"  pageEncoding="UTF-8"%>

		<jsp:include page="header.jsp"></jsp:include>
		<jsp:include page="sidebar.jsp"></jsp:include>
		
		<div id="content">
			<h2>DashBoard</h2>
			<hr/>
			<div id="RightNow" class="ui-widget ui-widget-content ui-corner-all" style="margin-top:10px;padding:0;width:300px; height: 150px;"> 
			<h3 class="ui-widget-header" style="padding:5px 10px;font-size:12px;">RightNow</h3>
				<ul>
					<li><a href="editPost.jsp"><%=PostService.getPosts("").size() %> Posts</a><a href="editComments.jsp?" class="alignright"><%=CommentService.getAllComments().size() %> Comments</a></li>
					<li><a href="editPages.jsp"><%=PageService.getPages().size() %> Pages</a><a style="color:green" href="/admin/editComments.jsp?comment_status=approved" class="alignright"><%=CommentService.getApprovedComments().size() %> Approved</a></li>
					<li><a href="categories.jsp"><%=CategoryService.getCategories().size() %> Categories</a><a style="color:#FF8000" href="/admin/editComments.jsp?comment_status=moderated" class="alignright"><%=CommentService.getPendingComments().size() %> Pending</a></li>
					<li><a href="mediaLibrary.jsp"><%=FileService.getFiles().size() %> Media Files</a><a style="color:red" href="/admin/editComments.jsp?comment_status=spam" class="alignright"><%=CommentService.getSpamComments().size() %> Spam</a></li>
				</ul>
			</div> 
		</div>
		
		<jsp:include page="footer.jsp"></jsp:include>
